home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / aminet / text / print / multipr6.lha / MultiPrint.doc < prev   
Text File  |  1993-04-05  |  30KB  |  789 lines

  1. {\Centre}
  2. {\Bold +}
  3.                           MultiPrint V1.6 - Manual
  4.                                 John Matthews
  5.                                 5 April 1993
  6. {\Centre -}{\B -}
  7.  
  8.  NAME
  9.  ----
  10.  
  11. MultiPrint
  12.  
  13.  SYNOPSIS
  14.  --------
  15. {\Reformat -}
  16. {\Justify -}
  17.     MultiPrint <args>
  18.  
  19.       Files/A/M
  20.          :  Text file(s), to print and scripts of files to print.
  21.             Can also include layout commands. See Later.
  22.  
  23.       TabSize/N/K
  24.          :  Number of positions to expand tabs to, default is 8.
  25.             This is only used when there is no justification, and
  26.             paragraph reformatting is off.
  27.  
  28.       FF/S
  29.          :  Pay attention to FormFeed characters. Starts new pages on a
  30.             new column.
  31.  
  32.       Sides/S
  33.          :  Print to both sides of a sheet. Only useful with cut-sheet
  34.             feeder type printers, laser jets, HP Deskjets etc.
  35.             See note on 'Last Page'.
  36.  
  37.       Font/K
  38.          :  Name of font to use for text, defaults to LetterGothic.font
  39.             See notes later on font usage.
  40.  
  41.       Size/K/N
  42.          :  Point size of font, or pixel size if PxlFontSize specified.
  43.             Defaults to 8 points (1/72ndsof an inch, ie 9 lines per inch)
  44.             or 8 pixels (real small, smaller at higher printer resolutions)
  45.             if you use Pxls.
  46.  
  47.       LineSpace/K/N
  48.          :  Point/Pixel size of each line to print. ie Use twice the font size
  49.             for double spacing.
  50.  
  51.       Columns/K/N
  52.          :  Number of columns to print, 1..8. Defaults to 2.
  53.  
  54.       Gutter/K/N
  55.          :  How many 1/10ths of an inch to leave at the left of odd, and
  56.             the right of even pages. Defaults to 5, ie half an inch
  57.  
  58.       OddFooter/K
  59.          :  Footer for odd pages, defaults to file name
  60.  
  61.       EvenFooter/K
  62.          :  Footer for even pages, defaults to file name
  63.  
  64.       FooterFont/K
  65.          :  Name of font for footers, defaults to same as Font
  66.  
  67.       FooterSize/K
  68.          :  Point size of footer font, or pixel size if PxlFontSize
  69.             specified. Specifying 0 causes MultiPrint to not print
  70.             a footer, which includes page numbering.
  71.             Defaults to 14 points (1/72ndsof an inch)
  72.             or 14 pixels (real small) if you use Pxls
  73.  
  74.       Check/S
  75.          :  Causes MultiPrint to do a 'dry run'. No printing occurs,
  76.             but lines that are too long for the point size / number of
  77.             columns combination are reported.
  78.             NOTE: Only use this if you are trying to print a document
  79.                   with no paragraph reformating and/or justification.
  80.  
  81.       Pxls/S
  82.          :  Causes MultiPrint to treat font sizes as absolute pixel height,
  83.             instead of point sizes. This method is dependant on the
  84.             resolution of the printer, but is necessary for use with
  85.             non-scalable fonts. If you specify this flag, you should not
  86.             use the default font sizes.
  87.  
  88.       Priority/K/N
  89.          :  Specifies the priority to run the spooler task at
  90.  
  91.       Ask/S
  92.          :  Prompt for confirmation of each file to print
  93.  
  94.       Quiet/S
  95.          :  No error messages for unfound files.
  96.  
  97.       Margin/K/N
  98.          :  Space in 10ths of an inch to leave between columns.
  99.             Defaults to 1 tenth of an inch.
  100.  
  101.       Line/S
  102.          :  Causes MultiPrint to draw a line between columns
  103.  
  104.       Start/K/N,
  105.       End/K/N
  106.          :  Specifies which page to start/end printing on. Remember that
  107.             many parameters effect page layout, such a font, font size,
  108.             resolution, number of columns, footers etc
  109.  
  110.       Density/K/N
  111.          :  Specifies the preferences density to use when printing,
  112.             range 1..7. If you specify 0, you will be prompted with the
  113.             dots per inch of each density. Not specifying density
  114.             causes MultiPrint to use the current preferences density.
  115.             See note on resolution later.
  116.  
  117.       NoCommands/S
  118.          :  Tells MultiPrint not to interpret '{' followed by '\' as
  119.             commands. For those (infrequent) occassions when you have
  120.             such a sequence in your document. There is currently no
  121.             way in which you can print such a sequence, _and_ use
  122.             controls in the document.
  123.  
  124.       NoISP/S
  125.          :  Tells MultiPrint not to treat an indented line as the start
  126.             of a paragraph. Useful for files with indented paragraphs,
  127.             ie where the whole paragraph is indented. With this switch
  128.             on, only a blank line or the \P switch (see commands) will
  129.             start a new paragraph.
  130.  
  131.  See Also the notes on 
  132.    Page/Printer Setup
  133.    Environment Arguments
  134.  
  135. {\Reformat =}
  136. {\Justify =}
  137.  
  138.  DESCRIPTION
  139.  -----------
  140.  
  141. MultiPrint is a program for printing text files to both sides of a page,
  142. in  multiple columns, and very small, or very large, high quality fonts.
  143.  
  144. As an example of the efficiency of MultiPrint, I have printed a file
  145. which was designed to be 127 pages long. I printed it at 7 points, which
  146. is small, but is readable at 300dpi, and it took only 8 sheets of paper.
  147. Having been reformatted with the +R switch, 346 lines of the original
  148. document were printed on the first side of a sheet alone.
  149.  
  150. MultiPrint makes use of many Amiga OS Release 2.04 features, and so
  151. requires at least this revision of the operating system. These features
  152. include Compugraphic Scalable Font technology, to produce characters to
  153. the correct size at the full resolution of the, printer, and the correct
  154. aspect ratios.
  155.  
  156.  
  157.  
  158.  SOURCE
  159.  ------
  160.  
  161. The source code is not included, but is available from the author.
  162. MultiPrint was writtern in M2Sprint Modula2, but should be easy to port to
  163. other languages if desired.
  164.                                        
  165.  
  166.  COPYRIGHT
  167.  ---------
  168.  
  169. MultiPrint V1.6 is freely distributable. MultiPrint V1.6 is free to be
  170. spread on public-domain and shareware disks especially on Fred Fish's
  171. AmigaLibDisks, as long as they are sold for a reasonable charge that is
  172. less than US $6 or equivalents. For use in commercial products the
  173. permission of the author is required. MultiPrint V1.6 may be copied and
  174. distributed via electronic networks such as the Internet, also it may be
  175. held available on anonymous ftp-servers, mail-boxes or BBS's. The
  176. Copyright is still held by the Author.
  177.  
  178. I am offering MultiPrint as shareware. If you use it regularly, let me
  179. know. If you want to show your appreciation, or maybe encourage me to
  180. develop the GUI version, or specific mods, the suggested registration fee
  181. is US$20 (in notes, or something easy like that, NZ$ even better), but this
  182. is just a suggestion. Registered owners with Usenet access will get some
  183. support via email. No obligations, no promises.
  184.  
  185. However, if you want to use it for some commercial project/product, please
  186. make it up to me somehow.
  187.  
  188. If you need some modifications done, offer me some incentive.
  189.  
  190. NO MATTER WHAT -
  191.  Leave the program as is, and documentation intact.
  192.  
  193.  AUTHOR & SUPPORT
  194.  ----------------
  195.  
  196. {\Centre +}
  197.     John Matthews
  198.     4 Wadham Grove,
  199.     Tawa, 6203
  200.     Wellington,
  201.     New Zealand.
  202.     INTERNET: tribble@gphs.vuw.ac.nz
  203.     (Irregular monitoring)
  204. {\Justify =}
  205.  
  206. Support may be limited to an attempt to fix any bugs which may be found,
  207. no promises. The author takes no liability for any damage caused by
  208. the program, but then, neither does he expect any.
  209.  
  210. Try the program out a few times before leaving it to print a large
  211. document unattended.
  212.  
  213. Leave me a message if you have any suggestions
  214.  
  215.  CHANGES
  216.  -------
  217.  
  218. 1.0 First Release, sort of. Was never really released
  219.     (29-Jan-93)
  220. 1.1 Second (attempt at a) Release.
  221.     Added support for multiple files and scripts.
  222.     (4-Feb-93)
  223. 1.2 Third ( attempt at a ) Release.
  224.     Added :
  225.       1. Right Justification.
  226.       2. Paragraph reformating.
  227.       3. Margins and Lines between columns.
  228.       4. Start/End page printing (for aborted print jobs)
  229.       5. Density setting.
  230. 1.3 Fourth ( (and successful) attempt at a ) Release.
  231.     February 24 1993
  232.     Added
  233.       1. Environment variable
  234.       2. LE and RE, to align columns on both sides of page.
  235.       3. Break commands
  236. 1.4 March 9 1993
  237.     Bug Fix :
  238.       fixed bugs in
  239.       1. handling of script files (it wouldn't)
  240.       2. printing of more than one file at a time (end of last line)
  241.       3. crashing on abort
  242.       4. centering of lines
  243.     Added
  244.       Inter-file title option (See Arguments below)
  245.  
  246. 1.5 March 20 1993
  247.     Bugs fixed :
  248.       1. printing of multiple files, other than starting a new sheet per
  249.          document.
  250.       2. fixed error with lines containing only spaces
  251.     Added
  252.       1. direct support for HP printers. See documentation.
  253.       2. NoCommands option (for Rob Poole)
  254.     Changed
  255.       1. Moved printer specific options into MultiPrint.printer
  256.          environment variable
  257.       2. Lengthened some command line option names
  258.  
  259. 1.6 April 5, 1993
  260.     Bugs fixed :
  261.       1. Re-occurring centering bug (Rob Poole).
  262.       2. Error with .otag files specifying non-present fonts.
  263.          Caused MultiPrint to not change styles (Italics etc)
  264.          if your CGTimes .otag file specified CGTimesItalic and
  265.          you didn't have it.
  266.       3. Possibly other formatting problems.
  267.       4. (Hopefully) fixed problem with Network printers found
  268.          by Dale Larson. Waiting to hear on this one.
  269.       5. Now starts new files on a new sheet when it's supposed
  270.          to, (the default) instead of always just on a new line.
  271.          (Rob Poole again! Watch it you guys or I might start
  272.          putting bugs in intentionally to give other guys a
  273.          chance!)
  274.       6. Enforcer hit on last page (it came and went).
  275.     Added
  276.       1. NoISP switch on command line.
  277.       2. \Paragraph command, to go with 1.
  278.  
  279.     Tested with Enforcer, Mungwall etc. I didn't find any hits.
  280.     Let's hope Dale doesn't either.
  281.  
  282. 2.0 (Planned) Workbench interface. Drop and go operation and more.
  283.  
  284.  
  285.  
  286.  PURPOSE & THEORY
  287.  ----------------
  288.  
  289. MultiPrint was designed to print text files to as few pages as possible.
  290. You know how sometimes having a .doc file is not good enough, you need to
  291. be able to see it on paper, because you are always referring to it. Or you
  292. have a really neat StarTrek© parody you want to show someone.
  293.  
  294. MultiPrint can print using multiple columns, both sides of a page, with
  295. really small, but still high resolution fonts to fit many times the usual
  296. amount on a page.
  297.  
  298. For example, an A4 page can usually hold about 60 lines of text. With
  299. MultiPrint and an 7 point font (about 30 pixels high on a 300dpi laser or
  300. deskjet) giving 100 lines of text, with 2 columns of output to both sides
  301. of the page gives 100 * 2 * 2 = 400 lines per page.
  302.  
  303. MultiPrint uses whichever font you specify, and can handle narrow and
  304. proportional fonts to increase the number of columns you can print. Lines
  305. can be wrapped around and right justified for improved use of space and
  306. readability, producing newspaper like output.
  307.  
  308. MultiPrint allows a gutter for stapling sheets together. The default of
  309. 5/10ths of an inch is quite adequate.
  310.  
  311. MultiPrint determines page size, and resolution from the system. Page
  312. oriented printers such as laser printers and Hewlett Packard DeskJets
  313. specify their resolutions directly. Tractor feed etc printers must have
  314. their lines/inch and number-of-lines set correctly to reflect page length,
  315. but they don't work so well for both sides printing anyway.
  316.  
  317. MultiPrint queues the pages, and uses a child process to print the even
  318. pages first in ascending order, then the odd pages in descending order on
  319. the reverse sides.
  320.  
  321. Due to the queueing of pages, MultiPrint can use a certain amount of
  322. memory. All pages are stored in memory as they are processed, also the
  323. program requires a buffer for processing the pages. Text files don't
  324. usually get large enough for this to be a problem on most systems these
  325. days, and this is faster and easier than spooling off to disk again.
  326.  
  327.  
  328.  VERSION
  329.  -------
  330.  
  331. This is version 1.6 of MultiPrint. It does everything I need, but I would
  332. like to give it a nice Workbench interface. This may, however, take time.
  333.  
  334. If anyone has any need for features other than those present, let me know,
  335. and maybe offer suitable inducements :-)
  336.  
  337. I'd like, at least, to make enough money to offset the cost of the ink
  338. cartridge I've almost used all of in testing this program.
  339.  
  340.  
  341.  STARTING
  342.  --------
  343.  
  344. MultiPrint is a Shell/CLI only program, and requires at least version 2.04
  345. of the Amiga OS. All parameters, as described above, except for the file
  346. name, have defaults and require keyword specifications to override them.
  347.  
  348. MultiPrint runs at a default priority of -1, as a good printing utility
  349. should, though this can be changed with the priority keyword. Priority is
  350. not overly important in some respects, however, as MultiPrint does not
  351. busy-wait. If your computer is fast enough, and/or so is your printer
  352. driver, you could well be waiting on your printer. Laser printers however
  353. will more likely be waiting on the computer, and so MultiPrint will be
  354. grabbing every available cycle, so leave at a low priority for background
  355. printing.
  356.  
  357. Before printing a file, it may be a good idea to use the "Check" option to
  358. determine how much line wrapping is occuring. Modern fonts are variously
  359. weighted. A good, light proportional font can fit many more characters on
  360. average than a heavy non-proportional font, so check if the current number
  361. of columns and font size will avoid line wrapping. Too much line-wrapping
  362. and you may end up wasting space with mostly blank lines.
  363.  
  364. MultiPrint can be stopped at any time with a <CTRL>-C, or the break
  365. command. It runs unattended until the midway point, if you have specified
  366. the "Sides" option. In this case, when it finishes printing the even pages,
  367. a prompt will appear. Wait for the printer's buffer to empty, take the pages
  368. in the order they fill up your tray (reversed) and place them back in the
  369. paper bin, face up (for DeskJets, I'm not sure for other printers), and hit
  370. 'Continue'. When the program finishes, the pages will be up the right way,
  371. and in the correct order.
  372.  
  373.  
  374.  ARGUMENTS
  375.  ---------
  376.  
  377. As described at the start of this document, plus
  378.  
  379. Layout Commands:
  380. You can precede file names with flags to control layout. These are
  381. specified as a plus (on) or minus (off) followed by the one of the
  382. following characters preceding file names they are to operate on, and
  383. stay in effect till specified again:
  384.  
  385.    C : new files begin on a new column
  386.    P : new files begin on a new page
  387.    S : new files begin on a new sheet (the default)
  388.    L : new files begin on a new line
  389.    N : restart page numbering after each file
  390.  * J : following files start in Right Justify mode
  391.  * R : following files will start in paragraph reformatting mode
  392.  * T : following files will be preceded by their name in the form
  393.   -------------------------------text.doc---------------------------------- 
  394.  
  395. Codes marked as * are effected by the plus/minus. A minus to J or C
  396. results in no justification, a minus to R turns off paragraph reformating.
  397.  
  398. eg. MultiPrint +J +R DocumentFile -J -R SourceCode.c
  399.  
  400. Script files:
  401. You can print a list of files by passing a file starting with a first
  402. line consisting of ";SCRIPT" (no quotes). Subsequent lines are controls
  403. as above, and file names. If a file name starts or ends with spaces, it
  404. should be quoted.
  405.  
  406. You can specify wildcards, but remember - MultiPrint does no analysis of
  407. whether a file is plain text or not. Printing binary code can eat your
  408. paper!
  409.  
  410. If FF is specified, FF characters start a new column.
  411.  
  412. The maximum number of columns is eight. Four is usually more than adequate.
  413. If you have a need for more, let me know
  414.  
  415. Font sizes should be specified in points, which are 1/72nds of an inch.
  416. This will result in the same size font on paper, no matter what resolution
  417. your printer handles/is set at. See note on resolution.
  418.  
  419. However, if you don't have any scalable fonts, you may have to specify the
  420. sizes of fonts directly. In this case use the "PxlFontSize" switch.
  421.  
  422. The "Height" argument is used to increase/decrease inter-line spacing. Use
  423. a point size greater than the font size for a larger spacing, smaller for
  424. less (at the risk of chopping the bottom off the characters).
  425.  
  426. "OddFooter"/"EvenFooter" override the default of using the filename in the
  427. footers.
  428.  
  429.  LAYOUT WITHIN A DOCUMENT
  430.  ------------------------
  431.  
  432. MultiPrint is designed in such a way that you shouldn't need to modify
  433. a document before printing it.
  434.  
  435. Sometimes, however, you might want to.
  436.  
  437. For example, there may be parts of a document where you don't want
  438. paragraph reformatting to occur. Or you might want to centre just a
  439. heading. Or you might want to use bold or italics for added emphasis.
  440.  
  441. MultiPrint recognises ANSI sequences for bold/italics such as are
  442. recoginised by Amiga printer drivers, and by the console device, and
  443. are sometimes used in documents.
  444.  
  445. MultiPrint also recognises some sequences of its own.
  446.  
  447. These sequences begin with a '{' followed by a '\' and end with either '}'
  448. or the end of line.
  449.  
  450. They are of the format:
  451.  \Xy a
  452. where 'X' is the first letter of the command, 'y' is the rest of the
  453. command, and doesn't need to be present, {\B +}the space is required{\B -}
  454. if 'a' is present, and 'a' is the argument.
  455.  
  456. {\BOLD +}All these commands should be surrounded by '{' and '}', but if
  457. I did that here, they would not appear if you printed this document with
  458. MultiPrint. {\BOLD -}
  459. -- Thanks to Rob Poole
  460.  
  461. Please remember, you don't have to use any of these in your document to
  462. get good output. Just precede the document name on the command line with
  463. '+J +R'.
  464.  
  465. They currently include:
  466.  
  467. \Bold [+|-]
  468.  {\B +}Turns bold on/off. Default is on. DOES NOT TOGGLE.{\B -}
  469.  
  470. \Italic [+|-]
  471.  {\I +}As with bold.{\I -}
  472.  
  473. \Underline [+|-]
  474.  {\U +}As with bold.{\U -}
  475.  
  476. \Normal
  477.  {\N }Turns off all styles.
  478.  
  479. \Justify [+|-|=]
  480.  Turns on/off. '=' means reset to this document's initial state.
  481.  
  482. \Centre [+|-]
  483.  Turns line centering on/off. Turning centering off is the same as
  484. switching to non-justified. If you want to return to justified use
  485. \Justify + instead. If you want to return to the previous justification
  486. use \Justify =.
  487.  
  488. \Reformat [+|-|=]
  489.  As with Justify, but for paragraph reformatting. Turn it on/off/back to
  490. the original setting for this document.
  491.  
  492. \Font [fontname]
  493.  Change font. Will attempt to change to the new font. The font will be
  494. in the current style, so if you want it un-styled, use \N first.
  495.  
  496. If 'fontname' is not specified, returns to the default font as specified
  497. on the command line.
  498.  
  499. \Section <Column|Page|Sheet>
  500.  Cause a break in the document. One of C,P or S must be specified and
  501. causes printing to continue on a new column, page (side of a sheet)
  502. or sheet.
  503.  
  504. \Paragraph
  505.  Force paragraph break. Only really necessary if you want paragraphs which
  506. start at the left margin, with no empty lines between them.
  507.  
  508. NOTE: - for Justify and Reformat only.
  509. Justify and Reformat only take effect at the start of a line.
  510.  
  511. If they are specified elsewhere, they are IGNORED.
  512.  
  513. If they are followed by the end of a line (no spaces), that line is
  514. ignored, no blank line is output. This can be assured by leaving out
  515. the closing '}'.
  516.  
  517.  
  518.  SPEED
  519.  -----
  520.  
  521. MultiPrint is not the fastest way of printing. It does, after all, print
  522. everything as graphics. This however is the most flexible way, and allows
  523. for the maximum amount on a page (if you can read small, high density
  524. text). Let it run in the background, however, and you only need to do
  525. anything when all the even pages are finished (when doing both-sides
  526. printing).
  527.  
  528. I admit, some printers are so slow at graphics (for example old DeskJets)
  529. that you may feel this method is pointless. Still, it gives you the
  530. option.
  531.  
  532. Still, in some cases you are able to fit so many pages onto the one sheet,
  533. it is actually faster than printing that many sheets.
  534.  
  535. For higher speed use a lower density, but don't use too small a font.
  536.  
  537.  NOTES
  538.  -----
  539.  
  540.  Resolution
  541.  ----------
  542.  
  543. The lower the resolution you use for printing, the less readable a font
  544. at the same point size will be. A point size of 7 at 300dpi uses a system
  545. font size of 29 pixels high, at 150 dpi the same font is only 14 pixels
  546. high.
  547.  
  548.  Font Quality
  549.  ------------
  550.  
  551. This ties in directly with resolution. Fonts are designed for different
  552. purposes, and because of this can be of different qualities.
  553.  
  554. For instance, many fonts on the Amiga are designed as screen fonts.
  555. As such they are limited often to small point sizes, and even the larger
  556. ones may not look good when printed.
  557.  
  558. MultiPrint is designed primarily with high resolution printers, and
  559. scalable fonts in mind. Most scalable fonts are designed to be used at
  560. high resolutions, and have a lot of detail in them. They look very good
  561. printed at 300dpi with point sizes as low as 7pt. This makes them 29 dots
  562. high. If you have tried using these scalable fonts as screen fonts,
  563. however, you will know that below a certain size, they no longer look so
  564. good. Fonts that are to be used with low dot sizes, must be designed for
  565. them.
  566.  
  567. The bottom line is this:
  568. If you intend to print at resolutions lower than 300dpi, either keep
  569. to a reasonable point size (at least 10 to 12) or find a font that
  570. looks okay at whatever size you require.
  571.  
  572. You might have to rely on system (non scalable fonts) using the 'Pxls'
  573. argument.
  574.  
  575.  Scalable Fonts
  576.  --------------
  577.  
  578. MultiPrint tries to be smart with Scalable fonts. If you specify
  579. italics, or bold, or both together, it will attempt to load the correct
  580. font for that style, rather than letting the system generate one. This
  581. results in far superior italics and bold etc at the expense of whatever
  582. time is required to open these fonts. MultiPrint will of course fall
  583. back to system generated versions if necessary. However, do try to
  584. specify the base name for a family of a fonts if possible. For example,
  585. use CSTimes where you also have CSTimesBold, CSTimesItalic, and
  586. CSTimesBoldItalic.
  587.  
  588.  Fonts in general
  589.  ----------------
  590.  
  591. Should always be on your FONTS: assign path, and don't need to be
  592. specified with the '.font' extension. If you specify a scalable font
  593. by its full path, bold/italic versions will not be found. Instead use
  594. 'assign Fonts: "path" add' to add the path to your fonts assign.
  595.  
  596. MultiPrint keeps all fonts used in memory until it finishes, so you may
  597. run out of Chip memory for fonts if you use too many. If MultiPrint
  598. cannot open a font for any reason, it will continue using the previous
  599. font.
  600. NOTE: when I say Font, I also mean style of Font (bold, italic etc).
  601.  
  602.  Paragraph Reformatting
  603.  ----------------------
  604.  
  605. Paragraph Reformatting is very useful for fitting text files into narrow
  606. columns, where they would either frequently wrap, or seldom come close to
  607. filling the line.
  608.  
  609. In conjunction with right justification, or flushing, you get a very nice,
  610. newspaper style output.
  611.  
  612. The problem with paragraphs is determining where they end.
  613.  
  614. In MultiPrint, paragraphs are broken up in two ways:
  615. 1. A line which begins with a space begins a new paragraph.
  616. 2. A blank line marks the end of a paragraph.
  617.  
  618. The only common method this misses out, is paragraphs which start at the
  619. beginning of a line, with no empty line before them.
  620.  
  621. With such paragraphs, you can only tell if there is a break by the fluke
  622. of how much blank space there is at the end of the last line.
  623.  
  624. Documents with paragraph breaks of this kind will need to have their
  625. paragraph breaks manually modified before printing.
  626.  
  627. {\BOLD +}Please be aware that this document has had special attention to work
  628. properly with paragraph reformatting on. Many files produced as
  629. documentation for a program have headings, and formatting in them that
  630. MultiPrint's reformatting will destroy.
  631.  
  632. With such files, where the formatting is important, use Justification
  633. if you like, but leave reformatting off. Or, you can modify the document
  634. to manually control the use of paragraph reformatting throughout.{\BOLD -}
  635.  
  636.  Page/Printer Setup
  637.  ------------------
  638.  
  639. MultiPrint gets most of the information it needs from Preferences,
  640. and so you should make certain your preferences are set correctly,
  641. including printer driver, page size and density, even if you use the
  642. HPPrinter option (see below).
  643.  
  644. However some information is not available in this manner.
  645.  
  646. In particular:
  647.  
  648. Printers seldom print to the whole page. In particular, DeskJet 500
  649. printers cannot print to the top 5 millimetres of a page, the last
  650. two centimetres, the left 3 millimetres, or the right 10 millimetres.
  651.  
  652. In order to get the columns of either side of a sheet of paper to
  653. line up, you need to specify the left and right edges of printing as
  654. the LeftEdge and RightEdge parameters in the environment variable
  655. "MultiPrint.printer". See also the section on HP printers below.
  656.  
  657. The best way to find the correct LeftEdge and RightEdge values is
  658. to print a test page with Gutter=0 as an option, and LeftEdge and
  659. RightEdge unset, or set to 0 in MultiPrint.printer, and with +R and +J
  660. before the file name, and End=1 to limit the printing to one page.
  661. Then measure (in millimeters) the left and right edges of the printing.
  662.  
  663.  Hewlett Packard Printers
  664.  ------------------------
  665.  
  666. Starting with version 1.5, MultiPrint can print directly to Hewlett
  667. Packard printers. This is not so always faster, that depends on the
  668. speed of your computer and printer - on my system, using the printer
  669. device to do the printing keeps up with the printer - but will always
  670. use less processor overhead. It also allows for printing to more of
  671. the page than the printer device can.
  672.  
  673. As with the Left and Right edges as explained above, printers have
  674. top and bottom margins. These vary with printer models also, and are
  675. not provided for by preferences, which takes the lowest-common-multiple
  676. approach.
  677.  
  678. Setting the HPPrinter flag in the MultiPrint.printer environment
  679. variable tells MultiPrint to print directly to an HP printer.
  680.  
  681. Use the HPNoCompression flag if your printer does not support compression,
  682. such as early DeskJet models.
  683.  
  684. The PageLength setting in the MultiPrint.printer variable tells MultiPrint
  685. just how long a _printable_ page your printer supports, for a given page
  686. size. To set this variable, follow this procedure:
  687.  
  688.  1. Set the correct page size in Preferences for the paper you use.
  689.  2. Set the MultiPrint.printer environment variable, with the LeftEdge
  690.     and RightEdge values as determined above, and with HPPrinter set.
  691.  3. Set PageSize=500 (or higher) in the MultiPrint.printer environment
  692.     variable.
  693.  4. Print a page as described above, ie with +J +R and End=1
  694.  5. Take the measurement, top of the text to last line printed, in
  695.     millimeters.
  696.  6. Use this value for PageSize in the MultiPrint.printer environment
  697.     variable in future.
  698.  
  699. For example, the correct settings for a DeskJet 500 printer with A4 paper
  700.  are :
  701.  
  702.  SetEnv MultiPrint.printer "LeftEdge=3 RightEdge=10 PageLength=283 HPPrinter"
  703.  
  704. and then, for permanent effect,
  705.  
  706.  copy env:MultiPrint#? envarc:
  707.  
  708. Via the printer.device, you get about 5 millimeters, or 1/2 an inch margin
  709. at the top, and 21 millimeters, or just under 7 8ths of an inch at the bottom.
  710. Using HPPrinter and PageSize=283, you get 2 and 9 millimeters, respectively.
  711.  
  712.  
  713.  Environment Variables
  714.  ---------------------
  715.  
  716. MultiPrint uses two environment variables, MultiPrint.opts and
  717. MultiPrint.printer, to control often used options, and optimise your
  718. printer usage. Neither of these variables can be termed necessary,
  719. but they improve either usage, quality of output, or speed. If you don't
  720. use them, you're stuck with my defaults, or with specifying all arguments
  721. always. If you don't set them, the columns on either side won't allign,
  722. and you won't get optimal speed or page usage on HP printers.
  723.  
  724. MultiPrint.opts:
  725.  
  726. This environment variable has exactly the same format as the command line,
  727. so make sure you try anything you intend to put in it on the command line
  728. first. Also, avoid putting anything that will be interpretted as a file
  729. name in the environment variable.
  730.  
  731. Switches which are specified in the environment variable, such as
  732. 'Line' or 'Sides' cannot be turned off in the command line. Do not use
  733. them in your environment variable unless you intend to always use
  734. them.
  735.  
  736. An example environment variable would be
  737.  
  738. setenv MultiPrint.opts "+R +J font=CSTimes line LE=3 RE=10"
  739.  
  740. This sets MultiPrint to default to Reformating, Justification, using
  741. CSTimes as the text body font, drawing a line between columns, and
  742. expecting the offsets Desjet 500s print to.
  743.  
  744. You should uses "Setenv EnvArc:MultiPrint.opts" to set a permanent
  745. default.
  746.  
  747. MultiPrint.Printer:
  748.  
  749. This variable sets page offsets to allow the allignment of columns on
  750. either side of a sheet, as well as options for optimal use of an
  751. Hewlett Packard printer. It works similar to command lines, and has
  752. the format :
  753.  
  754.  LeftEdge/K/N,RightEdge/K/N,PageLength/K/N,HPPrinter/S,HPNoCompression/S
  755.  
  756. and functions as follows:
  757.  
  758.  LeftEdge/K/N,RightEdge/K/N
  759.    :  measurements made as explained in Page/Printer Setup
  760.  
  761.  PageLength/K/N
  762.    :  measurement made as explained in Hewlett Packard Printers
  763.  
  764.  HPPrinter/S,HPNoCompression/S
  765.    :  switches as explained in Hewlett Packard Printers
  766.  
  767.  Last Page
  768.  ---------
  769.  
  770. When printing to both sides of a sheet, the last even page is printed,
  771. even if it is empty. This is so the sheet is ready for the odd page.
  772.  
  773. Printing empty lines can be slow, depending on your printer and printer
  774. driver. The printer may appear to be doing nothing for a while after
  775. printing a small amount on the last even page, and the last odd page,
  776. which is printed immediately after. This should not happen if you use
  777. the HPPrinter option.
  778.  
  779.  Both Sides Printing
  780.  -------------------
  781.  
  782. After all the even pages are printed, you will be prompted to re-insert
  783. the pages, once the printer has finished printing (emptied its internal
  784. buffers).
  785.  
  786. On a deskjet printer, the pages should be inserted as they came out of
  787. the printer, face up, top of page closest to the print mechanism.
  788.  
  789.